package com.kayt.cyberBar.log.business.dao;

import java.sql.SQLException;
import java.util.List;

public interface ILogOperationDao {

	public <T> Long addLog(T log) throws SQLException;

	public <T> int deleteLog(T log);

	public <T> int batchDelete(List<T> list);

	public List getLogListByHql(int pageNum, int pageSize, String hql, Object[] params) throws SQLException;

	public <T> void updateLog(T log);

}
